import request from '@/utils/request'

// 查询贴吧用户列表
export function listTiebauser(query) {
  return request({
    url: '/system/tiebauser/list',
    method: 'get',
    params: query
  })
}

// 查询贴吧用户详细
export function getTiebauser(id) {
  return request({
    url: '/system/tiebauser/' + id,
    method: 'get'
  })
}

// 新增贴吧用户
export function addTiebauser(data) {
  return request({
    url: '/system/tiebauser',
    method: 'post',
    data: data
  })
}

// 修改贴吧用户
export function updateTiebauser(data) {
  return request({
    url: '/system/tiebauser',
    method: 'put',
    data: data
  })
}

// 删除贴吧用户
export function delTiebauser(id) {
  return request({
    url: '/system/tiebauser/' + id,
    method: 'delete'
  })
}
